package com.zzyl.service;

import com.zzyl.dto.NursingPlanProjectDto;
import com.zzyl.vo.NursingPlanProjectVo;

import java.util.List;

public interface NursingPlanProjectService {
    /**
     * 批量操作 中间表
     * @param projectPlans
     * @param planId
     */
    void saveBatch(List<NursingPlanProjectDto> projectPlans, Long planId);

    /**
     * 根据计划id查询
     * @param planId
     * @return
     */
    List<NursingPlanProjectVo> findByPlanId(Long planId);

    /**
     * 根据计划id删除
     * @param planId
     */
    void deleteByPlanId(Long planId);
}
